public class Vehicle {
    private String brand;
    private int speed;
    public  Vehicle(String brand, int speed) {
        this.brand = brand;
        this.speed = speed;
    }

    public int accelerate(int inorement) {
        this.speed += inorement;
        return this.speed;
    }
}
